package com.cc.mapper;

import com.cc.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 33314
* @description 针对表【student(学生信息表)】的数据库操作Mapper
* @createDate 2025-06-21 13:54:59
* @Entity com.cc.entity.Student
*/
@Mapper
public interface StudentMapper {
    /**
     * @description: 展示学生列表
     * @param:
     * @return: java.util.List<com.cc.entity.Student>
     * @author 33314
     * @date: 2025/6/21 14:38
     */
    List<Student> getStuList(Student student);
    /**
     * @description: 添加学生信息
     * @param: student
     * @return: int
     * @author 33314
     * @date: 2025/6/21 14:39
     */
    int insertStu(Student student);
    /**
     * @description: 修改学生信息
     * @param: student
     * @return: int
     * @author 33314
     * @date: 2025/6/21 14:39
     */
    int updateStu(Student student);
    /**
     * @description: 删除学生信息
     * @param: student
     * @return: int
     * @author 33314
     * @date: 2025/6/21 14:40
     */
    int deleteStu(Integer studentId);
    /**
     * @description: 获取学生信息
     * @param: stuId
     * @return: com.cc.entity.Student
     * @author 33314
     * @date: 2025/6/21 14:43
     */
    Student getStuDetail(int studentId);

}
